package com.lianrui.app.goods.service;

import java.util.List;

import com.lianrui.app.goods.domain.Product;
import com.lianrui.app.goods.vos.ProductPage;
import com.lianrui.app.goods.vos.SpecVo;
import com.lianrui.commons.exception.BusinessException;
import com.lianrui.core.IService;

public interface IProductSerivce
        extends IService<ProductPage, Product, Integer> {

    public List<Product> getProductBygoodsId(Integer id)
            throws BusinessException;

    public List<SpecVo> getSpecs(Integer goodsId) throws BusinessException;
}
